﻿<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>网站基本信息</title>
<script src="/js/jquery.js" type="text/javascript"></script>
<script src="/js/jspublic.js" type="text/javascript"></script>
<script src="js/easyui/jquery.easyui.js" type="text/javascript"></script>
<script src="js/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
<link href="style/right.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
	$(function(){
		
		if (window.frameElement == null) self.location = '/manage';
	
	});
</script>
</head>

<body>
<div class="zs_content">

	<div class="zs_quota">
		<h4>网站基本设置</h4>
	</div>
	<div class="zs_sys">
		<form action="admin_add.aspx?T=b_config" method="post" name="form1" id="form1">
		{liebiao:B_config^0^c_id desc^}
		<ul>
			<li>
				<label>网站名称：</label>
				<div class="controls">
					<input type="text" name="c_title" type="text" value="{c_title}" maxlength="50" />
				</div>
			</li>
			<li>
				<label>网站域名：</label>
				<div class="controls">
					<input type="text" name="c_url" value="{c_url}" type="text" maxlength="50"  />
				</div>
			</li>
			<li>
				<label>网站模板：</label>
				<div class="controls">
					<input type="text" name="c_template" value="{c_template}" type="text" maxlength="50"  />
					<p class="help" style="display: none;"><a href="#" onclick="javascript:window.open('admin_zip.aspx?T={c_template}','newwindow', 'height=100, width=400, top=200, left=200, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=n o, status=no');">下载当前模板</a></p>
					<p class="help" style="display: none;"><a href="#" onclick="javascript:window.open('admin_unzip.aspx?T={c_template}','newwindow', 'height=300, width=400, top=200, left=200, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=n o, status=no');">在线解压新模板</a></p>					
				</div>
			</li>
			<li>
				<label>发帖审核：</label>
				<div class="controls">
					<label class="checkbox">
						<input type="radio" {ruguo:{c_isCheck}==1}checked="checked"{fouze}{/ruguo} id="close1" name="c_isCheck" value="1" /><span>是</span>
						<input type="radio" {ruguo:{c_isCheck}==0}checked="checked"{fouze}{/ruguo} id="close2" name="c_isCheck" value="0" /><span>否</span>
					</label>
					<p class="help-block">默认发帖是否需要审核，是：凡是提问都需要审核，否：凡是提问都自动显示</p>
				</div>
			</li>
			<li>
				<label>回复审核：</label>
				<div class="controls">
					<label class="checkbox">
						<input type="radio" {ruguo:{c_isCheck}==1}checked="checked"{fouze}{/ruguo} id="Radio7" name="r_isCheck" value="1" /><span>是</span>
						<input type="radio" {ruguo:{c_isCheck}==0}checked="checked"{fouze}{/ruguo} id="Radio8" name="r_isCheck" value="0" /><span>否</span>
					</label>
					<p class="help-block">默认回复是否需要审核，是：凡是回复都需要审核，否：凡是回复都自动显示</p>
				</div>
			</li>
			<li style="display: none;">
				<label>发帖附件：</label>
				<div class="controls">
					<label class="checkbox">
						<input type="radio" {ruguo:{c_askupload}==0}checked="checked"{fouze}{/ruguo} id="Radio3" name="c_askupload" value="0" /><span>是</span>
						<input type="radio" {ruguo:{c_askupload}==1}checked="checked"{fouze}{/ruguo} id="Radio4" name="c_askupload" value="1" /><span>否</span>
					</label>
					<p class="help-block">发帖附件，就是允许会员在发布问题的时候，可以上传图片附件</p>
				</div>
			</li>
			<li style="display: none;">
				<label>回复附件：</label>
				<div class="controls">
					<label class="checkbox">
						<input type="radio" {ruguo:{c_reupload}==0}checked="checked"{fouze}{/ruguo} id="Radio5" name="c_reupload" value="0" /><span>是</span>
						<input type="radio" {ruguo:{c_reupload}==1}checked="checked"{fouze}{/ruguo} id="Radio6" name="c_reupload" value="1" /><span>否</span>
					</label>
					<p class="help-block">回复附件，就是会员在回答问题的时候，可以上传图片附件</p>
				</div>
			</li>
			<li>
				<label>游客发帖：</label>
				<div class="controls">
					<label class="checkbox">
						<input type="radio" {ruguo:{c_isVisitors}==0}checked="checked"{fouze}{/ruguo} id="Radio1" name="c_isVisitors" value="0" /><span>是</span>
						<input type="radio" {ruguo:{c_isVisitors}==1}checked="checked"{fouze}{/ruguo} id="Radio2" name="c_isVisitors" value="1" /><span>否</span>
					</label>
					<p class="help-block">默认游客是不允许发帖的，是：游客可以发帖提问，否：不可以发帖提问</p>
				</div>
			</li>
			<li>
				<label>默认积分：</label>
				<div class="controls">
					<input type="text" name="c_defaultpoint" value="{c_defaultpoint}" type="text" maxlength="10"" />
					<p class="help-block">会员注册的时候给的默认分数，用于发布问题</p>
				</div>
			</li>
			<li>
				<label>到期设置(天)：</label>
				<div class="controls">
					<input type="text" name="c_settime" type="text" value="{c_setTime}" maxlength="10" value="30"" />
					<p class="help-block">当问题发布者没有结贴的时候，会自动关闭，请设置多少时间才能关闭，单位为天</p>
				</div>
			</li>
			<li>
				<label>流量统计：</label>
				<div class="controls">
					<textarea id="c_count" name="c_count" rows="6">{c_count}</textarea>
					<p class="help">流量统计代码</p>
				</div>
			</li>
			<li style="display: none;">
				<label>广告代码：</label>
				<div class="controls">
					<textarea id="c_ad" name="c_ad" rows="6">{c_ad}</textarea>
					<p class="help">广告代码，请把JS格式的代码粘贴在上面<a href="http://www.hao123.com/haoserver/jstohtm.htm" target="_blank">html转js工具</a></p>
				</div>
			</li>
			<li class="act">
				<label></label>
				<div class="controls">
					<input type="submit" id="Submit" name="Submit" value="更新" class="btn btn-primary" />
					<input type="button" name="back" value="返回" class="btn btn-primary" onclick="javascript:window.history.go(-1);" />
				</div>
			</li>
		</ul>
		{/liebiao}
		</form>
	</div>
	
</div>
	
</body>
</html>